package cn.bdqn.service;

import cn.bdqn.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 正文
 * @date 2020/6/25 - 11:01
 */
//部门
public interface DepartmentService {
    //查询部门
    List<Department> getList();
    //添加部门
    int add(Department department);
    //根据id查询部门
    List<Department> getListById(int id);
    //删除部门
    int delete(int id);
    //修改部门
    int update(Department department);
}
